//数据变更表
import cache from '/@/utils/hook/cache';

export default function (data: any) {
	const array = [
		{
			type: 'slot',
			slotName: 'tint1',
			label: window.$t('zB8c9qgebBdq5lEick4I4'),
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'input',
			label: window.$t('5SdqephRho555HxqbTCbi'),
			key: 'applicantName',
			value: data.applicantName || '',
			disabledStyle: true,
		},
		{
			//日期不用传,使用创建日期
			type: 'input',
			label: window.$t('8gijWjiIjgQJkhF_1KLq'),
			key: 'createdTime',
			value: data.createdTime || '',
			disabledStyle: true,
		},
		{
			type: 'input',
			label: window.$t('mcSzgDrxfhNi0yEi_2ohZ'),
			key: 'appDivision',
			value: data.appDivision || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'input',
			label: window.$t('yJauBhY_6TVh0SIhqXngi'),
			key: 'mduleName',
			value: data.mduleName || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'radio',
			label: window.$t('hn3inoP_0cerIa9fGpjA'),
			key: 'demandClass',
			value: data.demandClass || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
			options: [
				{
					label: window.$t('sbUovUutWtIdOnz7gb4'),
					value: window.$t('cVLlDWl1Vab3rBdpeoqwh'),
				},
				{
					label: window.$t('eB220bio48NTzvTnMwEpU'),
					value: window.$t('jt5K2ziYh472NFm2Ox3tS'),
				},
				{
					label: window.$t('ylcucwfUZrekoqRx4cydE'),
					value: window.$t('6dic8Amy7aAcWqLqzVmt'),
				},
				{
					label: window.$t('nhge6PFmPaanEreqw6cDb'),
					value: window.$t('2YqzF8s1Wt7rmixqZBqI'),
				},

				{
					label: window.$t('uIx0AkH9PcAzuiHqv0i4E'),
					value: window.$t('l7AjJhSk4y5GtHrUgfmKc'),
				},
				{
					label: window.$t('uitX0HsFhmD6stsb3fMxN'),
					value: window.$t('obv0757Ht2w02giOu4fQp'),
				},
			],
			rules: [{ required: true, message: window.$t('gvdS4BnsfVIi7AepzY2Td'), trigger: ['change', 'blur'] }],
		},
		{
			type: 'textarea',
			label: window.$t('el8ccGEiZfNom4uTChBc'),
			key: 'needContent',
			value: data.needContent || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'textarea',
			label: window.$t('kohp6OsgcqbO5MiauPvX'),
			key: 'poblem',
			value: data.poblem || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},
		{
			type: 'input',
			label: window.$t('iNJwO2yfbWhu6WwzyfFa'),
			key: 'auditProgress',
			value: data.auditProgress || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'input',
			label: window.$t('usCpe569KRrXl4SndjyX'),
			key: 'description',
			value: data.description || '',
			disabledStyle: true,
			size: {
				xs: 24,
				sm: 24,
				md: 24,
				lg: 24,
				xl: 24,
			},
		},

		{
			type: 'slot',
			slotName: 'contract',
			key: 'contract',
			value: '',
		},
	];
	return array;
}
